package com.aaa.sbm.util;

import lombok.*;

/**
 * @FileName: ResultStatus
 * @Description: 返回结果的枚举类
 * @Author: zhz
 * @CreateTime: 2025/8/22 9:09
 * @Version: 1.0.0
 */
@Getter
@NoArgsConstructor
@AllArgsConstructor
public enum ResultStatus {

    SUCCESS(200,"执行成功"),
    ERROR(500,"执行失败"),
    PARAM_IS_NULL(5001,"参数为null"),
    ID_IS_NULL(5002,"ID为null"),
    //PARAM_IS_NULL(5001,"参数为null"),
    //PARAM_IS_NULL(5001,"参数为null"),
    ;

    //返回状态码
    private  Integer  returnCode;
    //返回信息
    private  String   returnMessage;




}
